package com.shop.controller;

import cn.hutool.jwt.JWTUtil;
import com.shop.dto.MemberDto;
import com.shop.dto.MemberInfoDto;
import com.shop.dto.MemberLoginDto;
import com.shop.service.MemberCoinsService;
import com.shop.service.MemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.*;

import java.util.HashMap;
import java.util.Map;

/**
 * @author wzby
 * @date 2022-12-02 13:24:15
 */
@RestController
@RequestMapping("/member-api/coin")

public class CoinController {

    @Autowired
    private MemberCoinsService memberCoinsService;

    @GetMapping("/qty")
    public Integer selectQty(){
        return memberCoinsService.selectCoinQty();
    }
}
